package com.dianxin.smartpark.service.access;

import com.chinatelecom.response.common.CommonResponseBody;
import com.dianxin.device.api.device.dto.SmartDeviceUserDTO;
import com.dianxin.device.api.device.qo.SmartDeviceUserRpcQO;

import java.util.List;

/**
 * @Author wangkai
 * @Date 2021/7/29 10:19 上午
 */
public interface SmartParkDeviceUserService {


    /**
     * 保存
     * @param vo
     * @return
     */
    CommonResponseBody<Boolean> saveDeviceUser(SmartDeviceUserDTO vo) throws Exception;

    /**
     * 更新
     * @param vo
     * @return
     */
    CommonResponseBody<Boolean> updateDeviceUser( SmartDeviceUserDTO vo) throws Exception;


    /**
     * 更新
     * @param vo
     * @return
     */
    CommonResponseBody<Boolean> deleteDeviceUser(SmartDeviceUserDTO vo) throws Exception;


    /**
     * 分页查询
     * @param qo
     * @return
     */
    CommonResponseBody<List<SmartDeviceUserDTO>> getDevicesUsers(SmartDeviceUserRpcQO qo) throws Exception;
}
